package ua.tyran53red.contacts.channel;

import java.util.HashMap;

public class ChannelObject {
	private String name;
	private HashMap<Integer, String> listUsers = new HashMap<Integer, String>();
	
	public ChannelObject(String name, HashMap<Integer, String> listUsers) {
		this.name = name;
		this.listUsers = listUsers;
	}
	
	public String getName() {
		return name;
	}
	
	public String getUsersList() {
		String  strings = "";
		for (String string: listUsers.values()) {
			strings += string + "\n";
		}
		return strings;
	}
}
